﻿@using MarketPulse.Web.Helpers
@model MUM.Models.SecurityModel
@{
    SessionManager.ActiveController = "Security";
    SessionManager.ActiveAction = "GetView";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<link href="@Url.Content("~/Content/Login.css")" rel="stylesheet" type="text/css" />

@using (Html.BeginForm())
{
    <div id="loginBox" >
        <div id="innerBox" >
            <div class="spacer10" ></div>
            <div id="welcome" >Welcome to MUM</div>
            <div>
                <span class="spanspacer1"></span>@Html.LabelFor(m => m.Username)
                <span class="spanspacer1"></span>@Html.TextBoxFor(m => m.Username) 
                @Html.ValidationMessageFor(m => m.Username)
            </div>
            <div class="spacer20" ></div>
            <div>
                <span class="spanspacer1"></span>@Html.LabelFor(m => m.Password)
                <span class="spanspacer2"></span>@Html.PasswordFor(m => m.Password)
            </div>
            <div class="spacer30" ></div>
            <div id="inputButton">
                <input type="submit" value="Login" />
                @Html.ValidationSummary()
            </div>
        </div>
        <div id="shadow"></div>
    </div>
}
